package kr.co.choongang;

import java.io.Serializable;
import java.sql.Date;

public class Comment implements Serializable {
	private static final long serialVersionUID = 1L;
	
	private Integer comment_no;
	private Integer board_no;
	private String comment_writer;
	private Date comment_date;
	private String comment_content;
	public Integer getComment_no() {
		return comment_no;
	}
	public void setComment_no(Integer comment_no) {
		this.comment_no = comment_no;
	}
	public Integer getBoard_no() {
		return board_no;
	}
	public void setBoard_no(Integer board_no) {
		this.board_no = board_no;
	}
	public String getComment_writer() {
		return comment_writer;
	}
	public void setComment_writer(String comment_writer) {
		this.comment_writer = comment_writer;
	}
	public Date getComment_date() {
		return comment_date;
	}
	public void setComment_date(Date comment_date) {
		this.comment_date = comment_date;
	}
	public String getComment_content() {
		return comment_content;
	}
	public void setComment_content(String comment_content) {
		this.comment_content = comment_content;
	}
	@Override
	public String toString() {
		return "Comment [comment_no=" + comment_no + ", board_no=" + board_no
				+ ", comment_writer=" + comment_writer + ", comment_date="
				+ comment_date + ", comment_content=" + comment_content + "]";
	}
	public Comment(Integer comment_no, Integer board_no, String comment_writer,
			Date comment_date, String comment_content) {
		super();
		this.comment_no = comment_no;
		this.board_no = board_no;
		this.comment_writer = comment_writer;
		this.comment_date = comment_date;
		this.comment_content = comment_content;
	}
	public Comment() {
		super();
	}
	
	
}
